﻿<UserControl x:Class="HappyBa.Pages.ValidationPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:loc="clr-namespace:HappyBa.Code.Localization"
             xmlns:captioned="clr-namespace:Mnk.Library.WpfControls.Components.Captioned;assembly=Mnk.Library.WpfControls"
             xmlns:components="clr-namespace:Mnk.Library.WpfControls.Components;assembly=Mnk.Library.WpfControls"
             xmlns:units="clr-namespace:Mnk.Library.WpfControls.Components.Units;assembly=Mnk.Library.WpfControls"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <DockPanel>
        <DockPanel DockPanel.Dock="Bottom" Margin="10" >
            <Button Content="{loc:Tr Validate}" Click="ValidateClick" VerticalAlignment="Bottom" HorizontalAlignment="Right" Padding="10 1" DockPanel.Dock="Right"/>
            <Button Content="{loc:Tr ExcelReport}" Click="ExcelReportClick" VerticalAlignment="Bottom" HorizontalAlignment="Right" Padding="10 1" DockPanel.Dock="Right"/>
            <TextBlock Name="Info" DockPanel.Dock="Left"/>
            <components:ExtCheckBox Content="{loc:Tr HideOldWarnings}" IsChecked="{Binding Validation.HideOldWarnings}" Margin="5 0" ValueChanged="ValidateClick"/>
        </DockPanel>
        <TextBox VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" IsReadOnly="True" IsReadOnlyCaretVisible="True" Name="Results"/>
    </DockPanel>
</UserControl>
